function exec() {
	var page = require('webpage').create();	
	page.open('about:blank', function() {
		page.injectJs('dateUtil.js');
		try{			
			function abc(){
				var sysDate = javaCallFun('now("0M","Fd","2014-02-10")');
				return sysDate;
			}
			var result = page.evaluate(abc);
			console.log(result);
		}catch(e){
			console.log(e);
		}
		phantom.exit();
	})
}
try {
	exec();
} catch (e) {
	console.log("fail");
	phantom.exit();
}